Optimal. Leaf size=15 \[ \cos (x) \sqrt {a \sec ^4(x)} \sin (x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 15, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {4208, 3852, 8}
\begin {gather*} \sin (x) \cos (x) \sqrt {a \sec ^4(x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 3852
Rule 4208
Rubi steps
\begin {align*} \int \sqrt {a \sec ^4(x)} \, dx &=\left (\cos ^2(x) \sqrt {a \sec ^4(x)}\right ) \int \sec ^2(x) \, dx\\ &=-\left (\left (\cos ^2(x) \sqrt {a \sec ^4(x)}\right ) \text {Subst}(\int 1 \, dx,x,-\tan (x))\right )\\ &=\cos (x) \sqrt {a \sec ^4(x)} \sin (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 15, normalized size = 1.00 \begin {gather*} \cos (x) \sqrt {a \sec ^4(x)} \sin (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.20, size = 14, normalized size = 0.93
method | result | size |
default | \(\cos \left (x \right ) \sin \left (x \right ) \sqrt {\frac {a}{\cos \left (x \right )^{4}}}\) | \(14\) |
risch | \(2 i \sqrt {\frac {a \,{\mathrm e}^{4 i x}}{\left ({\mathrm e}^{2 i x}+1\right )^{4}}}\, \left (1+{\mathrm e}^{-2 i x}\right )\) | \(29\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.51, size = 6, normalized size = 0.40 \begin {gather*} \sqrt {a} \tan \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.90, size = 13, normalized size = 0.87 \begin {gather*} \sqrt {\frac {a}{\cos \left (x\right )^{4}}} \cos \left (x\right ) \sin \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \sqrt {a \sec ^{4}{\left (x \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.42, size = 6, normalized size = 0.40 \begin {gather*} \sqrt {a} \tan \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.11, size = 6, normalized size = 0.40 \begin {gather*} \sqrt {a}\,\mathrm {tan}\left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________